package com.java.main.domain.work;


import com.java.main.domain.SysEntity.SysEntityAuto;
import io.swagger.annotations.ApiModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@ApiModel
@Entity
@Table(name = "work")
public class WorkDO extends SysEntityAuto implements Serializable {
    private static final long serialVersionUID = 1L;


    /** 用户id */
    @Column(nullable = false, length = 20)
    private Integer userId;

    /** data */
    @Column(nullable = false, length = 10000)
    private String data;

    /** name */
    @Column(nullable = false, length = 100)
    private String name;

    public Integer getUserId() {
        return userId;
    }

    public String getData() {
        return data;
    }

    public String getName() {
        return name;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setData(String data) {
        this.data = data;
    }

    public void setName(String name) {
        this.name = name;
    }
}

